package com.chc.web.reader.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chc.web.borrow.entity.BorrowParm;
import com.chc.web.reader.entity.Reader;
import com.chc.web.reader.entity.ReaderParm;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/04/21/21:47
 * @Description:
 */
public interface ReaderMapper extends BaseMapper<Reader> {

    //查询未审核和已审核的图书数据
    IPage<ReaderParm> getReaderList(IPage<ReaderParm> page, @Param("cardid")Long cardid, @Param("name")String name, @Param("tel")String tel);
}
